package ro.sergiu.finder.models.property;

/**
 *
 * @author toporjinschi
 */
public enum DisplayMode implements ComboAdapter {

    MODAL_DIALOG(0, "Modal dialog"),
    POPUP(1, "Popup");
    private final int id;
    private final String text;

    private DisplayMode(int id, String text) {
        this.id = id;
        this.text = text;
    }

    @Override
    public int getId() {
        return id;
    }

    @Override
    public String getAsString() {
        return text;
    }

}
